package com.aot.module.news.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class NewsExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public NewsExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andNsIdIsNull() {
            addCriterion("NS_ID is null");
            return (Criteria) this;
        }

        public Criteria andNsIdIsNotNull() {
            addCriterion("NS_ID is not null");
            return (Criteria) this;
        }

        public Criteria andNsIdEqualTo(String value) {
            addCriterion("NS_ID =", value, "nsId");
            return (Criteria) this;
        }

        public Criteria andNsIdNotEqualTo(String value) {
            addCriterion("NS_ID <>", value, "nsId");
            return (Criteria) this;
        }

        public Criteria andNsIdGreaterThan(String value) {
            addCriterion("NS_ID >", value, "nsId");
            return (Criteria) this;
        }

        public Criteria andNsIdGreaterThanOrEqualTo(String value) {
            addCriterion("NS_ID >=", value, "nsId");
            return (Criteria) this;
        }

        public Criteria andNsIdLessThan(String value) {
            addCriterion("NS_ID <", value, "nsId");
            return (Criteria) this;
        }

        public Criteria andNsIdLessThanOrEqualTo(String value) {
            addCriterion("NS_ID <=", value, "nsId");
            return (Criteria) this;
        }

        public Criteria andNsIdLike(String value) {
            addCriterion("NS_ID like", value, "nsId");
            return (Criteria) this;
        }

        public Criteria andNsIdNotLike(String value) {
            addCriterion("NS_ID not like", value, "nsId");
            return (Criteria) this;
        }

        public Criteria andNsIdIn(List<String> values) {
            addCriterion("NS_ID in", values, "nsId");
            return (Criteria) this;
        }

        public Criteria andNsIdNotIn(List<String> values) {
            addCriterion("NS_ID not in", values, "nsId");
            return (Criteria) this;
        }

        public Criteria andNsIdBetween(String value1, String value2) {
            addCriterion("NS_ID between", value1, value2, "nsId");
            return (Criteria) this;
        }

        public Criteria andNsIdNotBetween(String value1, String value2) {
            addCriterion("NS_ID not between", value1, value2, "nsId");
            return (Criteria) this;
        }

        public Criteria andNsTypeIsNull() {
            addCriterion("NS_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andNsTypeIsNotNull() {
            addCriterion("NS_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andNsTypeEqualTo(String value) {
            addCriterion("NS_TYPE =", value, "nsType");
            return (Criteria) this;
        }

        public Criteria andNsTypeNotEqualTo(String value) {
            addCriterion("NS_TYPE <>", value, "nsType");
            return (Criteria) this;
        }

        public Criteria andNsTypeGreaterThan(String value) {
            addCriterion("NS_TYPE >", value, "nsType");
            return (Criteria) this;
        }

        public Criteria andNsTypeGreaterThanOrEqualTo(String value) {
            addCriterion("NS_TYPE >=", value, "nsType");
            return (Criteria) this;
        }

        public Criteria andNsTypeLessThan(String value) {
            addCriterion("NS_TYPE <", value, "nsType");
            return (Criteria) this;
        }

        public Criteria andNsTypeLessThanOrEqualTo(String value) {
            addCriterion("NS_TYPE <=", value, "nsType");
            return (Criteria) this;
        }

        public Criteria andNsTypeLike(String value) {
            addCriterion("NS_TYPE like", value, "nsType");
            return (Criteria) this;
        }

        public Criteria andNsTypeNotLike(String value) {
            addCriterion("NS_TYPE not like", value, "nsType");
            return (Criteria) this;
        }

        public Criteria andNsTypeIn(List<String> values) {
            addCriterion("NS_TYPE in", values, "nsType");
            return (Criteria) this;
        }

        public Criteria andNsTypeNotIn(List<String> values) {
            addCriterion("NS_TYPE not in", values, "nsType");
            return (Criteria) this;
        }

        public Criteria andNsTypeBetween(String value1, String value2) {
            addCriterion("NS_TYPE between", value1, value2, "nsType");
            return (Criteria) this;
        }

        public Criteria andNsTypeNotBetween(String value1, String value2) {
            addCriterion("NS_TYPE not between", value1, value2, "nsType");
            return (Criteria) this;
        }

        public Criteria andNsTittleIsNull() {
            addCriterion("NS_TITTLE is null");
            return (Criteria) this;
        }

        public Criteria andNsTittleIsNotNull() {
            addCriterion("NS_TITTLE is not null");
            return (Criteria) this;
        }

        public Criteria andNsTittleEqualTo(String value) {
            addCriterion("NS_TITTLE =", value, "nsTittle");
            return (Criteria) this;
        }

        public Criteria andNsTittleNotEqualTo(String value) {
            addCriterion("NS_TITTLE <>", value, "nsTittle");
            return (Criteria) this;
        }

        public Criteria andNsTittleGreaterThan(String value) {
            addCriterion("NS_TITTLE >", value, "nsTittle");
            return (Criteria) this;
        }

        public Criteria andNsTittleGreaterThanOrEqualTo(String value) {
            addCriterion("NS_TITTLE >=", value, "nsTittle");
            return (Criteria) this;
        }

        public Criteria andNsTittleLessThan(String value) {
            addCriterion("NS_TITTLE <", value, "nsTittle");
            return (Criteria) this;
        }

        public Criteria andNsTittleLessThanOrEqualTo(String value) {
            addCriterion("NS_TITTLE <=", value, "nsTittle");
            return (Criteria) this;
        }

        public Criteria andNsTittleLike(String value) {
            addCriterion("NS_TITTLE like", value, "nsTittle");
            return (Criteria) this;
        }

        public Criteria andNsTittleNotLike(String value) {
            addCriterion("NS_TITTLE not like", value, "nsTittle");
            return (Criteria) this;
        }

        public Criteria andNsTittleIn(List<String> values) {
            addCriterion("NS_TITTLE in", values, "nsTittle");
            return (Criteria) this;
        }

        public Criteria andNsTittleNotIn(List<String> values) {
            addCriterion("NS_TITTLE not in", values, "nsTittle");
            return (Criteria) this;
        }

        public Criteria andNsTittleBetween(String value1, String value2) {
            addCriterion("NS_TITTLE between", value1, value2, "nsTittle");
            return (Criteria) this;
        }

        public Criteria andNsTittleNotBetween(String value1, String value2) {
            addCriterion("NS_TITTLE not between", value1, value2, "nsTittle");
            return (Criteria) this;
        }

        public Criteria andKeyWordIsNull() {
            addCriterion("KEY_WORD is null");
            return (Criteria) this;
        }

        public Criteria andKeyWordIsNotNull() {
            addCriterion("KEY_WORD is not null");
            return (Criteria) this;
        }

        public Criteria andKeyWordEqualTo(String value) {
            addCriterion("KEY_WORD =", value, "keyWord");
            return (Criteria) this;
        }

        public Criteria andKeyWordNotEqualTo(String value) {
            addCriterion("KEY_WORD <>", value, "keyWord");
            return (Criteria) this;
        }

        public Criteria andKeyWordGreaterThan(String value) {
            addCriterion("KEY_WORD >", value, "keyWord");
            return (Criteria) this;
        }

        public Criteria andKeyWordGreaterThanOrEqualTo(String value) {
            addCriterion("KEY_WORD >=", value, "keyWord");
            return (Criteria) this;
        }

        public Criteria andKeyWordLessThan(String value) {
            addCriterion("KEY_WORD <", value, "keyWord");
            return (Criteria) this;
        }

        public Criteria andKeyWordLessThanOrEqualTo(String value) {
            addCriterion("KEY_WORD <=", value, "keyWord");
            return (Criteria) this;
        }

        public Criteria andKeyWordLike(String value) {
            addCriterion("KEY_WORD like", value, "keyWord");
            return (Criteria) this;
        }

        public Criteria andKeyWordNotLike(String value) {
            addCriterion("KEY_WORD not like", value, "keyWord");
            return (Criteria) this;
        }

        public Criteria andKeyWordIn(List<String> values) {
            addCriterion("KEY_WORD in", values, "keyWord");
            return (Criteria) this;
        }

        public Criteria andKeyWordNotIn(List<String> values) {
            addCriterion("KEY_WORD not in", values, "keyWord");
            return (Criteria) this;
        }

        public Criteria andKeyWordBetween(String value1, String value2) {
            addCriterion("KEY_WORD between", value1, value2, "keyWord");
            return (Criteria) this;
        }

        public Criteria andKeyWordNotBetween(String value1, String value2) {
            addCriterion("KEY_WORD not between", value1, value2, "keyWord");
            return (Criteria) this;
        }

        public Criteria andNsSrcIsNull() {
            addCriterion("NS_SRC is null");
            return (Criteria) this;
        }

        public Criteria andNsSrcIsNotNull() {
            addCriterion("NS_SRC is not null");
            return (Criteria) this;
        }

        public Criteria andNsSrcEqualTo(String value) {
            addCriterion("NS_SRC =", value, "nsSrc");
            return (Criteria) this;
        }

        public Criteria andNsSrcNotEqualTo(String value) {
            addCriterion("NS_SRC <>", value, "nsSrc");
            return (Criteria) this;
        }

        public Criteria andNsSrcGreaterThan(String value) {
            addCriterion("NS_SRC >", value, "nsSrc");
            return (Criteria) this;
        }

        public Criteria andNsSrcGreaterThanOrEqualTo(String value) {
            addCriterion("NS_SRC >=", value, "nsSrc");
            return (Criteria) this;
        }

        public Criteria andNsSrcLessThan(String value) {
            addCriterion("NS_SRC <", value, "nsSrc");
            return (Criteria) this;
        }

        public Criteria andNsSrcLessThanOrEqualTo(String value) {
            addCriterion("NS_SRC <=", value, "nsSrc");
            return (Criteria) this;
        }

        public Criteria andNsSrcLike(String value) {
            addCriterion("NS_SRC like", value, "nsSrc");
            return (Criteria) this;
        }

        public Criteria andNsSrcNotLike(String value) {
            addCriterion("NS_SRC not like", value, "nsSrc");
            return (Criteria) this;
        }

        public Criteria andNsSrcIn(List<String> values) {
            addCriterion("NS_SRC in", values, "nsSrc");
            return (Criteria) this;
        }

        public Criteria andNsSrcNotIn(List<String> values) {
            addCriterion("NS_SRC not in", values, "nsSrc");
            return (Criteria) this;
        }

        public Criteria andNsSrcBetween(String value1, String value2) {
            addCriterion("NS_SRC between", value1, value2, "nsSrc");
            return (Criteria) this;
        }

        public Criteria andNsSrcNotBetween(String value1, String value2) {
            addCriterion("NS_SRC not between", value1, value2, "nsSrc");
            return (Criteria) this;
        }

        public Criteria andNsUrlIsNull() {
            addCriterion("NS_URL is null");
            return (Criteria) this;
        }

        public Criteria andNsUrlIsNotNull() {
            addCriterion("NS_URL is not null");
            return (Criteria) this;
        }

        public Criteria andNsUrlEqualTo(String value) {
            addCriterion("NS_URL =", value, "nsUrl");
            return (Criteria) this;
        }

        public Criteria andNsUrlNotEqualTo(String value) {
            addCriterion("NS_URL <>", value, "nsUrl");
            return (Criteria) this;
        }

        public Criteria andNsUrlGreaterThan(String value) {
            addCriterion("NS_URL >", value, "nsUrl");
            return (Criteria) this;
        }

        public Criteria andNsUrlGreaterThanOrEqualTo(String value) {
            addCriterion("NS_URL >=", value, "nsUrl");
            return (Criteria) this;
        }

        public Criteria andNsUrlLessThan(String value) {
            addCriterion("NS_URL <", value, "nsUrl");
            return (Criteria) this;
        }

        public Criteria andNsUrlLessThanOrEqualTo(String value) {
            addCriterion("NS_URL <=", value, "nsUrl");
            return (Criteria) this;
        }

        public Criteria andNsUrlLike(String value) {
            addCriterion("NS_URL like", value, "nsUrl");
            return (Criteria) this;
        }

        public Criteria andNsUrlNotLike(String value) {
            addCriterion("NS_URL not like", value, "nsUrl");
            return (Criteria) this;
        }

        public Criteria andNsUrlIn(List<String> values) {
            addCriterion("NS_URL in", values, "nsUrl");
            return (Criteria) this;
        }

        public Criteria andNsUrlNotIn(List<String> values) {
            addCriterion("NS_URL not in", values, "nsUrl");
            return (Criteria) this;
        }

        public Criteria andNsUrlBetween(String value1, String value2) {
            addCriterion("NS_URL between", value1, value2, "nsUrl");
            return (Criteria) this;
        }

        public Criteria andNsUrlNotBetween(String value1, String value2) {
            addCriterion("NS_URL not between", value1, value2, "nsUrl");
            return (Criteria) this;
        }

        public Criteria andNsAuthorIsNull() {
            addCriterion("NS_AUTHOR is null");
            return (Criteria) this;
        }

        public Criteria andNsAuthorIsNotNull() {
            addCriterion("NS_AUTHOR is not null");
            return (Criteria) this;
        }

        public Criteria andNsAuthorEqualTo(String value) {
            addCriterion("NS_AUTHOR =", value, "nsAuthor");
            return (Criteria) this;
        }

        public Criteria andNsAuthorNotEqualTo(String value) {
            addCriterion("NS_AUTHOR <>", value, "nsAuthor");
            return (Criteria) this;
        }

        public Criteria andNsAuthorGreaterThan(String value) {
            addCriterion("NS_AUTHOR >", value, "nsAuthor");
            return (Criteria) this;
        }

        public Criteria andNsAuthorGreaterThanOrEqualTo(String value) {
            addCriterion("NS_AUTHOR >=", value, "nsAuthor");
            return (Criteria) this;
        }

        public Criteria andNsAuthorLessThan(String value) {
            addCriterion("NS_AUTHOR <", value, "nsAuthor");
            return (Criteria) this;
        }

        public Criteria andNsAuthorLessThanOrEqualTo(String value) {
            addCriterion("NS_AUTHOR <=", value, "nsAuthor");
            return (Criteria) this;
        }

        public Criteria andNsAuthorLike(String value) {
            addCriterion("NS_AUTHOR like", value, "nsAuthor");
            return (Criteria) this;
        }

        public Criteria andNsAuthorNotLike(String value) {
            addCriterion("NS_AUTHOR not like", value, "nsAuthor");
            return (Criteria) this;
        }

        public Criteria andNsAuthorIn(List<String> values) {
            addCriterion("NS_AUTHOR in", values, "nsAuthor");
            return (Criteria) this;
        }

        public Criteria andNsAuthorNotIn(List<String> values) {
            addCriterion("NS_AUTHOR not in", values, "nsAuthor");
            return (Criteria) this;
        }

        public Criteria andNsAuthorBetween(String value1, String value2) {
            addCriterion("NS_AUTHOR between", value1, value2, "nsAuthor");
            return (Criteria) this;
        }

        public Criteria andNsAuthorNotBetween(String value1, String value2) {
            addCriterion("NS_AUTHOR not between", value1, value2, "nsAuthor");
            return (Criteria) this;
        }

        public Criteria andNsTimeIsNull() {
            addCriterion("NS_TIME is null");
            return (Criteria) this;
        }

        public Criteria andNsTimeIsNotNull() {
            addCriterion("NS_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andNsTimeEqualTo(Date value) {
            addCriterion("NS_TIME =", value, "nsTime");
            return (Criteria) this;
        }

        public Criteria andNsTimeNotEqualTo(Date value) {
            addCriterion("NS_TIME <>", value, "nsTime");
            return (Criteria) this;
        }

        public Criteria andNsTimeGreaterThan(Date value) {
            addCriterion("NS_TIME >", value, "nsTime");
            return (Criteria) this;
        }

        public Criteria andNsTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("NS_TIME >=", value, "nsTime");
            return (Criteria) this;
        }

        public Criteria andNsTimeLessThan(Date value) {
            addCriterion("NS_TIME <", value, "nsTime");
            return (Criteria) this;
        }

        public Criteria andNsTimeLessThanOrEqualTo(Date value) {
            addCriterion("NS_TIME <=", value, "nsTime");
            return (Criteria) this;
        }

        public Criteria andNsTimeIn(List<Date> values) {
            addCriterion("NS_TIME in", values, "nsTime");
            return (Criteria) this;
        }

        public Criteria andNsTimeNotIn(List<Date> values) {
            addCriterion("NS_TIME not in", values, "nsTime");
            return (Criteria) this;
        }

        public Criteria andNsTimeBetween(Date value1, Date value2) {
            addCriterion("NS_TIME between", value1, value2, "nsTime");
            return (Criteria) this;
        }

        public Criteria andNsTimeNotBetween(Date value1, Date value2) {
            addCriterion("NS_TIME not between", value1, value2, "nsTime");
            return (Criteria) this;
        }

        public Criteria andOriginSrcIsNull() {
            addCriterion("ORIGIN_SRC is null");
            return (Criteria) this;
        }

        public Criteria andOriginSrcIsNotNull() {
            addCriterion("ORIGIN_SRC is not null");
            return (Criteria) this;
        }

        public Criteria andOriginSrcEqualTo(String value) {
            addCriterion("ORIGIN_SRC =", value, "originSrc");
            return (Criteria) this;
        }

        public Criteria andOriginSrcNotEqualTo(String value) {
            addCriterion("ORIGIN_SRC <>", value, "originSrc");
            return (Criteria) this;
        }

        public Criteria andOriginSrcGreaterThan(String value) {
            addCriterion("ORIGIN_SRC >", value, "originSrc");
            return (Criteria) this;
        }

        public Criteria andOriginSrcGreaterThanOrEqualTo(String value) {
            addCriterion("ORIGIN_SRC >=", value, "originSrc");
            return (Criteria) this;
        }

        public Criteria andOriginSrcLessThan(String value) {
            addCriterion("ORIGIN_SRC <", value, "originSrc");
            return (Criteria) this;
        }

        public Criteria andOriginSrcLessThanOrEqualTo(String value) {
            addCriterion("ORIGIN_SRC <=", value, "originSrc");
            return (Criteria) this;
        }

        public Criteria andOriginSrcLike(String value) {
            addCriterion("ORIGIN_SRC like", value, "originSrc");
            return (Criteria) this;
        }

        public Criteria andOriginSrcNotLike(String value) {
            addCriterion("ORIGIN_SRC not like", value, "originSrc");
            return (Criteria) this;
        }

        public Criteria andOriginSrcIn(List<String> values) {
            addCriterion("ORIGIN_SRC in", values, "originSrc");
            return (Criteria) this;
        }

        public Criteria andOriginSrcNotIn(List<String> values) {
            addCriterion("ORIGIN_SRC not in", values, "originSrc");
            return (Criteria) this;
        }

        public Criteria andOriginSrcBetween(String value1, String value2) {
            addCriterion("ORIGIN_SRC between", value1, value2, "originSrc");
            return (Criteria) this;
        }

        public Criteria andOriginSrcNotBetween(String value1, String value2) {
            addCriterion("ORIGIN_SRC not between", value1, value2, "originSrc");
            return (Criteria) this;
        }

        public Criteria andOriginUrlIsNull() {
            addCriterion("ORIGIN_URL is null");
            return (Criteria) this;
        }

        public Criteria andOriginUrlIsNotNull() {
            addCriterion("ORIGIN_URL is not null");
            return (Criteria) this;
        }

        public Criteria andOriginUrlEqualTo(String value) {
            addCriterion("ORIGIN_URL =", value, "originUrl");
            return (Criteria) this;
        }

        public Criteria andOriginUrlNotEqualTo(String value) {
            addCriterion("ORIGIN_URL <>", value, "originUrl");
            return (Criteria) this;
        }

        public Criteria andOriginUrlGreaterThan(String value) {
            addCriterion("ORIGIN_URL >", value, "originUrl");
            return (Criteria) this;
        }

        public Criteria andOriginUrlGreaterThanOrEqualTo(String value) {
            addCriterion("ORIGIN_URL >=", value, "originUrl");
            return (Criteria) this;
        }

        public Criteria andOriginUrlLessThan(String value) {
            addCriterion("ORIGIN_URL <", value, "originUrl");
            return (Criteria) this;
        }

        public Criteria andOriginUrlLessThanOrEqualTo(String value) {
            addCriterion("ORIGIN_URL <=", value, "originUrl");
            return (Criteria) this;
        }

        public Criteria andOriginUrlLike(String value) {
            addCriterion("ORIGIN_URL like", value, "originUrl");
            return (Criteria) this;
        }

        public Criteria andOriginUrlNotLike(String value) {
            addCriterion("ORIGIN_URL not like", value, "originUrl");
            return (Criteria) this;
        }

        public Criteria andOriginUrlIn(List<String> values) {
            addCriterion("ORIGIN_URL in", values, "originUrl");
            return (Criteria) this;
        }

        public Criteria andOriginUrlNotIn(List<String> values) {
            addCriterion("ORIGIN_URL not in", values, "originUrl");
            return (Criteria) this;
        }

        public Criteria andOriginUrlBetween(String value1, String value2) {
            addCriterion("ORIGIN_URL between", value1, value2, "originUrl");
            return (Criteria) this;
        }

        public Criteria andOriginUrlNotBetween(String value1, String value2) {
            addCriterion("ORIGIN_URL not between", value1, value2, "originUrl");
            return (Criteria) this;
        }

        public Criteria andOriginAuthorIsNull() {
            addCriterion("ORIGIN_AUTHOR is null");
            return (Criteria) this;
        }

        public Criteria andOriginAuthorIsNotNull() {
            addCriterion("ORIGIN_AUTHOR is not null");
            return (Criteria) this;
        }

        public Criteria andOriginAuthorEqualTo(String value) {
            addCriterion("ORIGIN_AUTHOR =", value, "originAuthor");
            return (Criteria) this;
        }

        public Criteria andOriginAuthorNotEqualTo(String value) {
            addCriterion("ORIGIN_AUTHOR <>", value, "originAuthor");
            return (Criteria) this;
        }

        public Criteria andOriginAuthorGreaterThan(String value) {
            addCriterion("ORIGIN_AUTHOR >", value, "originAuthor");
            return (Criteria) this;
        }

        public Criteria andOriginAuthorGreaterThanOrEqualTo(String value) {
            addCriterion("ORIGIN_AUTHOR >=", value, "originAuthor");
            return (Criteria) this;
        }

        public Criteria andOriginAuthorLessThan(String value) {
            addCriterion("ORIGIN_AUTHOR <", value, "originAuthor");
            return (Criteria) this;
        }

        public Criteria andOriginAuthorLessThanOrEqualTo(String value) {
            addCriterion("ORIGIN_AUTHOR <=", value, "originAuthor");
            return (Criteria) this;
        }

        public Criteria andOriginAuthorLike(String value) {
            addCriterion("ORIGIN_AUTHOR like", value, "originAuthor");
            return (Criteria) this;
        }

        public Criteria andOriginAuthorNotLike(String value) {
            addCriterion("ORIGIN_AUTHOR not like", value, "originAuthor");
            return (Criteria) this;
        }

        public Criteria andOriginAuthorIn(List<String> values) {
            addCriterion("ORIGIN_AUTHOR in", values, "originAuthor");
            return (Criteria) this;
        }

        public Criteria andOriginAuthorNotIn(List<String> values) {
            addCriterion("ORIGIN_AUTHOR not in", values, "originAuthor");
            return (Criteria) this;
        }

        public Criteria andOriginAuthorBetween(String value1, String value2) {
            addCriterion("ORIGIN_AUTHOR between", value1, value2, "originAuthor");
            return (Criteria) this;
        }

        public Criteria andOriginAuthorNotBetween(String value1, String value2) {
            addCriterion("ORIGIN_AUTHOR not between", value1, value2, "originAuthor");
            return (Criteria) this;
        }

        public Criteria andOriginTimeIsNull() {
            addCriterion("ORIGIN_TIME is null");
            return (Criteria) this;
        }

        public Criteria andOriginTimeIsNotNull() {
            addCriterion("ORIGIN_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andOriginTimeEqualTo(Date value) {
            addCriterion("ORIGIN_TIME =", value, "originTime");
            return (Criteria) this;
        }

        public Criteria andOriginTimeNotEqualTo(Date value) {
            addCriterion("ORIGIN_TIME <>", value, "originTime");
            return (Criteria) this;
        }

        public Criteria andOriginTimeGreaterThan(Date value) {
            addCriterion("ORIGIN_TIME >", value, "originTime");
            return (Criteria) this;
        }

        public Criteria andOriginTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("ORIGIN_TIME >=", value, "originTime");
            return (Criteria) this;
        }

        public Criteria andOriginTimeLessThan(Date value) {
            addCriterion("ORIGIN_TIME <", value, "originTime");
            return (Criteria) this;
        }

        public Criteria andOriginTimeLessThanOrEqualTo(Date value) {
            addCriterion("ORIGIN_TIME <=", value, "originTime");
            return (Criteria) this;
        }

        public Criteria andOriginTimeIn(List<Date> values) {
            addCriterion("ORIGIN_TIME in", values, "originTime");
            return (Criteria) this;
        }

        public Criteria andOriginTimeNotIn(List<Date> values) {
            addCriterion("ORIGIN_TIME not in", values, "originTime");
            return (Criteria) this;
        }

        public Criteria andOriginTimeBetween(Date value1, Date value2) {
            addCriterion("ORIGIN_TIME between", value1, value2, "originTime");
            return (Criteria) this;
        }

        public Criteria andOriginTimeNotBetween(Date value1, Date value2) {
            addCriterion("ORIGIN_TIME not between", value1, value2, "originTime");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("STATUS is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("STATUS is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("STATUS =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("STATUS <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("STATUS >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("STATUS >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("STATUS <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("STATUS <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("STATUS like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("STATUS not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("STATUS in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("STATUS not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("STATUS between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("STATUS not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andCreatorIsNull() {
            addCriterion("CREATOR is null");
            return (Criteria) this;
        }

        public Criteria andCreatorIsNotNull() {
            addCriterion("CREATOR is not null");
            return (Criteria) this;
        }

        public Criteria andCreatorEqualTo(String value) {
            addCriterion("CREATOR =", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotEqualTo(String value) {
            addCriterion("CREATOR <>", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorGreaterThan(String value) {
            addCriterion("CREATOR >", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorGreaterThanOrEqualTo(String value) {
            addCriterion("CREATOR >=", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorLessThan(String value) {
            addCriterion("CREATOR <", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorLessThanOrEqualTo(String value) {
            addCriterion("CREATOR <=", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorLike(String value) {
            addCriterion("CREATOR like", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotLike(String value) {
            addCriterion("CREATOR not like", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorIn(List<String> values) {
            addCriterion("CREATOR in", values, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotIn(List<String> values) {
            addCriterion("CREATOR not in", values, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorBetween(String value1, String value2) {
            addCriterion("CREATOR between", value1, value2, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotBetween(String value1, String value2) {
            addCriterion("CREATOR not between", value1, value2, "creator");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("CREATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("CREATE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("CREATE_TIME =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("CREATE_TIME <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("CREATE_TIME >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CREATE_TIME >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("CREATE_TIME <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("CREATE_TIME <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("CREATE_TIME in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("CREATE_TIME not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("CREATE_TIME between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("CREATE_TIME not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("UPDATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("UPDATE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("UPDATE_TIME =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("UPDATE_TIME <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("UPDATE_TIME >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("UPDATE_TIME >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("UPDATE_TIME <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("UPDATE_TIME <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("UPDATE_TIME in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("UPDATE_TIME not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("UPDATE_TIME between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("UPDATE_TIME not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andNsUidIsNull() {
            addCriterion("NS_UID is null");
            return (Criteria) this;
        }

        public Criteria andNsUidIsNotNull() {
            addCriterion("NS_UID is not null");
            return (Criteria) this;
        }

        public Criteria andNsUidEqualTo(String value) {
            addCriterion("NS_UID =", value, "nsUid");
            return (Criteria) this;
        }

        public Criteria andNsUidNotEqualTo(String value) {
            addCriterion("NS_UID <>", value, "nsUid");
            return (Criteria) this;
        }

        public Criteria andNsUidGreaterThan(String value) {
            addCriterion("NS_UID >", value, "nsUid");
            return (Criteria) this;
        }

        public Criteria andNsUidGreaterThanOrEqualTo(String value) {
            addCriterion("NS_UID >=", value, "nsUid");
            return (Criteria) this;
        }

        public Criteria andNsUidLessThan(String value) {
            addCriterion("NS_UID <", value, "nsUid");
            return (Criteria) this;
        }

        public Criteria andNsUidLessThanOrEqualTo(String value) {
            addCriterion("NS_UID <=", value, "nsUid");
            return (Criteria) this;
        }

        public Criteria andNsUidLike(String value) {
            addCriterion("NS_UID like", value, "nsUid");
            return (Criteria) this;
        }

        public Criteria andNsUidNotLike(String value) {
            addCriterion("NS_UID not like", value, "nsUid");
            return (Criteria) this;
        }

        public Criteria andNsUidIn(List<String> values) {
            addCriterion("NS_UID in", values, "nsUid");
            return (Criteria) this;
        }

        public Criteria andNsUidNotIn(List<String> values) {
            addCriterion("NS_UID not in", values, "nsUid");
            return (Criteria) this;
        }

        public Criteria andNsUidBetween(String value1, String value2) {
            addCriterion("NS_UID between", value1, value2, "nsUid");
            return (Criteria) this;
        }

        public Criteria andNsUidNotBetween(String value1, String value2) {
            addCriterion("NS_UID not between", value1, value2, "nsUid");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}